


/*  session 封装  */
var Session = {
    get: function (name) {
        return wx.getStorageSync(name) || null;
    },
    set: function (name,session) {
        wx.setStorageSync(name, session);
    },
    clear: function (name) {
        wx.removeStorageSync(name);
    }
};

module.exports = Session;